package org.examSys.entity;

public class Book {
		private int id;
		private String bookName;
		private int Grade_id;
		private Grade grade;
		public int getId() {
			return id;
		}
		public void setId(int id) {
			this.id = id;
		}
		public String getBookName() {
			return bookName;
		}
		public void setBookName(String bookName) {
			this.bookName = bookName;
		}
		public int getGrade_id() {
			return Grade_id;
		}
		public void setGrade_id(int grade_id) {
			Grade_id = grade_id;
		}
		public Grade getGrade() {
			return grade;
		}
		public void setGrade(Grade grade) {
			this.grade = grade;
		}
		@Override
		public String toString() {
			return "Book [id=" + id + ", bookName=" + bookName + ", Grade_id=" + Grade_id + ", grade=" + grade + "]";
		}
		
		
		

		
		
}
